package com.young.shop.pojo.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Coupon {
    private int id;
    private int type;
    private String name;
    private int platform;
    private int count;
    private BigDecimal amount;
    private int perLimit;
    private BigDecimal minPoint;
    private Date startTime;
    private Date endTime;
    private int useType;
    private String note;
    private int publishCount;
    private int useCount;
    private int receiveCount;
    private Date enableTime;
    private String code;
    private int memberLevel;


    @Override
    public String toString() {
        return "Coupon{" +
                "id=" + id +
                ", type=" + type +
                ", name='" + name + '\'' +
                ", platform=" + platform +
                ", count=" + count +
                ", amount=" + amount +
                ", perLimit=" + perLimit +
                ", minPoint=" + minPoint +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", useType=" + useType +
                ", note='" + note + '\'' +
                ", publishCount=" + publishCount +
                ", useCount=" + useCount +
                ", receiveCount=" + receiveCount +
                ", enableTime=" + enableTime +
                ", code='" + code + '\'' +
                ", memberLevel=" + memberLevel +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPlatform() {
        return platform;
    }

    public void setPlatform(int platform) {
        this.platform = platform;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public int getPerLimit() {
        return perLimit;
    }

    public void setPerLimit(int perLimit) {
        this.perLimit = perLimit;
    }

    public BigDecimal getMinPoint() {
        return minPoint;
    }

    public void setMinPoint(BigDecimal minPoint) {
        this.minPoint = minPoint;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getUseType() {
        return useType;
    }

    public void setUseType(int useType) {
        this.useType = useType;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public int getPublishCount() {
        return publishCount;
    }

    public void setPublishCount(int publishCount) {
        this.publishCount = publishCount;
    }

    public int getUseCount() {
        return useCount;
    }

    public void setUseCount(int useCount) {
        this.useCount = useCount;
    }

    public int getReceiveCount() {
        return receiveCount;
    }

    public void setReceiveCount(int receiveCount) {
        this.receiveCount = receiveCount;
    }

    public Date getEnableTime() {
        return enableTime;
    }

    public void setEnableTime(Date enableTime) {
        this.enableTime = enableTime;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getMemberLevel() {
        return memberLevel;
    }

    public void setMemberLevel(int memberLevel) {
        this.memberLevel = memberLevel;
    }
}
